package com.sh.data.engine.domain.datadev.flink.model.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: zigui.zdf
 * @description:
 * @date: 2021/6/29 14:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@ApiModel
public class FlinkTableFieldDomain {

    public FlinkTableFieldDomain(String fieldName, String fieldType) {
        this.fieldName = fieldName;
        this.fieldType = fieldType;
    }

    public FlinkTableFieldDomain(String fieldName, String fieldType, Integer isPartition) {
        this.fieldName = fieldName;
        this.fieldType = fieldType;
        this.isPartition = isPartition;
    }

    //    @ApiModelProperty(value = "字段名")
    private String fieldName;

    //    @ApiModelProperty(value = "字段类型")
    private String fieldType;

    private Integer isPartition;

    private Boolean isPk = Boolean.FALSE;
}
